package com.mysql.model;

public class Picture {
    private Integer id;

    private String pic;

    private String city;

    private String detail;

    public Picture(Integer id, String pic, String city, String detail) {
        this.id = id;
        this.pic = pic;
        this.city = city;
        this.detail = detail;
    }

    public Picture() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic == null ? null : pic.trim();
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city == null ? null : city.trim();
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail == null ? null : detail.trim();
    }
}